package com.dingwei.superiordiary.bean;

import com.dingwei.superiordiary.base.MyBaseBean;

import java.util.List;

/**
 * Created time 2018/1/29.
 * Creator 南柯一梦丶 on
 * Personal signature 余生还长 何必慌张
 * Page description :
 */

public class CommentBean extends MyBaseBean{

    /**
     * data : {"list":[{"id":"14","portrait":"http://139.199.211.51/yprj/uploads/consumer/15//portrait.jpg?r=12814","nickname":"李海平","content":"test","addtime":"2018-01-29 14:48:40","sub":[{"id":"7","portrait":"http://139.199.211.51/yprj/uploads/consumer/15//portrait.jpg?r=12814","nickname":"李海平","content":"test","addtime":"2018-01-29 14:41:17"},{"id":"6","portrait":"http://139.199.211.51/yprj/uploads/consumer/15//portrait.jpg?r=12814","nickname":"李海平","content":"test","addtime":"2018-01-29 14:41:12"}],"image":[],"likes":"0","is_liked":2,"more":1,"comment_total":4}],"page":"1"}
     */

    public DataBean data;

    public static class DataBean {
        /**
         * list : [{"id":"14","portrait":"http://139.199.211.51/yprj/uploads/consumer/15//portrait.jpg?r=12814","nickname":"李海平","content":"test","addtime":"2018-01-29 14:48:40","sub":[{"id":"7","portrait":"http://139.199.211.51/yprj/uploads/consumer/15//portrait.jpg?r=12814","nickname":"李海平","content":"test","addtime":"2018-01-29 14:41:17"},{"id":"6","portrait":"http://139.199.211.51/yprj/uploads/consumer/15//portrait.jpg?r=12814","nickname":"李海平","content":"test","addtime":"2018-01-29 14:41:12"}],"image":[],"likes":"0","is_liked":2,"more":1,"comment_total":4}]
         * page : 1
         */

        public String page;
        public List<ListBean> list;

        public static class ListBean {
            /**
             * id : 14
             * portrait : http://139.199.211.51/yprj/uploads/consumer/15//portrait.jpg?r=12814
             * nickname : 李海平
             * content : test
             * addtime : 2018-01-29 14:48:40
             * sub : [{"id":"7","portrait":"http://139.199.211.51/yprj/uploads/consumer/15//portrait.jpg?r=12814","nickname":"李海平","content":"test","addtime":"2018-01-29 14:41:17"},{"id":"6","portrait":"http://139.199.211.51/yprj/uploads/consumer/15//portrait.jpg?r=12814","nickname":"李海平","content":"test","addtime":"2018-01-29 14:41:12"}]
             * image : []
             * likes : 0
             * is_liked : 2
             * more : 1
             * comment_total : 4
             */

            public String id;
            public String portrait;
            public String nickname;
            public String content;
            public String addtime;
            public String floor;
            public String likes;
            public int is_liked;
            public int more;
            public int comment_total;
            public List<SubBean> sub;
            public List<String> image;
            public String trample;
            public String level;
            public String consumer_id;

            public static class SubBean {
                /**
                 * id : 7
                 * portrait : http://139.199.211.51/yprj/uploads/consumer/15//portrait.jpg?r=12814
                 * nickname : 李海平
                 * content : test
                 * addtime : 2018-01-29 14:41:17
                 */

                public String id;
                public String portrait;
                public String nickname;
                public String content;
                public String consumer_id;
                public String addtime;
                public String likes;
                public int is_liked;
            }
        }
    }
}
